package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgProductImages;
import com.ygqh.baby.po.YgProductImagesExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgProductImagesMapper {
    int countByExample(YgProductImagesExample example);

    int deleteByExample(YgProductImagesExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgProductImages record);

    int insertSelective(YgProductImages record);

    List<YgProductImages> selectByExample(YgProductImagesExample example);

    YgProductImages selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgProductImages record, @Param("example") YgProductImagesExample example);

    int updateByExample(@Param("record") YgProductImages record, @Param("example") YgProductImagesExample example);

    int updateByPrimaryKeySelective(YgProductImages record);

    int updateByPrimaryKey(YgProductImages record);
    
    int countSuper(@Param ("q") String q);
    
    List<YgProductImages> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
    int saveBatch( List<YgProductImages>  ygProductImages   );
    
}



